body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background: #f7f7f7;
}

.page-title {
  text-align: center;
  margin-bottom: 30px;
}

#grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  display: flex;
  gap: 20px;
}

.card-img, .card-text {
  flex: 1;
  aspect-ratio: 1 / 1; /* 保持正方形 */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  background: #fff;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-text {
  flex-direction: column;
  text-align: center;
  padding: 10px;
}

.card-text h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.card-text p {
  font-size: 14px;
  color: #666;
}
